package com.novasec;

public class NuevoLoginClienteItem {
	public Long getRucdni() {
		return rucdni;
	}
	public void setRucdni(Long rucdni) {
		this.rucdni = rucdni;
	}
	public String getTipopersona() {
		return tipopersona;
	}
	public void setTipopersona(String tipopersona) {
		this.tipopersona = tipopersona;
	}
	public String getNombrerazonsocial() {
		return nombrerazonsocial;
	}
	public void setNombrerazonsocial(String nombrerazonsocial) {
		this.nombrerazonsocial = nombrerazonsocial;
	}
	public String getLogin() {
		return login;
	}
	public void setLogin(String login) {
		this.login = login;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getAuthority() {
		return authority;
	}
	public void setAuthority(String authority) {
		this.authority = authority;
	}
	private Long rucdni;
	private String tipopersona;
	private String nombrerazonsocial;
	private String login;
	private String password;
	private String username;
	private String authority;
	
}

/*
insert into novasec.users values ('cliente2','cliente2',1)
insert into novasec.authorities values ('cliente2','ROLE_CLIENT')
update identificadores set id=id+1 where name='CLIENTE'

select id from identificadores where name='CLIENTE'

insert into novatec.usuario (IdUsuario,IndActivo,Login,Clave)
    select id,'1','cliente2','cliente2' 
    from identificadores 
    where name='CLIENTE';
insert into novatec.cliente (IdUsuario,RUC_DNI,RazonSocialNombre,Direccion) 
    select id,'09234321201','Milkito SAC','-'
    from identificadores
    where name='CLIENTE';
*/